lib = libmymath.a

$(lib):Math.o
	ar -rc $@ $^
Math.o:Math.c
	gcc -c Math.c
.PHONY:clean
clean:
	rm -rf *.o *.a lib
.PHONY:output
output:
	mkdir -p lib/include
	mkdir -p lib/mymathlib
	cp *.h lib/include
	cp *.a lib/mymathlib

